import request from "@/utils/request";

export const getCartData_API = () => {
  return request({
    url: "/cart",
    method: "get",
  });
};

export const putCardData_API = (data) => {
  return request({
    url: "/cart/" + data.id,
    method: "put",
    data: data
  });
};
